jun.Konsumenstore = Ext.extend(Ext.data.JsonStore, {
    constructor: function(cfg) {
        cfg = cfg || {};
        jun.Konsumenstore.superclass.constructor.call(this, Ext.apply({
            storeId: 'KonsumenStoreId',
            url: 'Konsumen',
            root: 'results',
            totalProperty: 'total',
            fields: [
                {name: 'konsumen_id'},
                {name: 'konsumen_code'},
                {name: 'konsumen_name'},
                {name: 'area_id'},
                {name: 'type_konsumen_id'},
                {name: 'pasar_id'},
                {name: 'address'},
                {name: 'phone'},
                {name: 'hp'},
                {name: 'hp2'},
                {name: 'tempo'},
                {name: 'agen'},
                {name: 'status'}
            ]
        }, cfg));
    }, FilterData: function() {
        this.filter([{property: "status", value: "1"}])
    }
});
jun.rztKonsumenMaster = new jun.Konsumenstore();
jun.rztKonsumenLib = new jun.Konsumenstore();
jun.rztKonsumen = new jun.Konsumenstore();
//jun.rztKonsumen.load();
